<template>
  <div class = "index">
    <Head title="小组" @zs = "num = $event"/>
    groups
    <span>{{num}}</span>
  </div>
</template>
<script>

import Head from '@/components/Head.vue'
export default {
  name: 'HomeView',
  components: {
    Head
  },
  data() {
    return {
      num:0
    }
  },
}
</script>
